<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户登录</title>
</head>
<body>
	<s:form action="user_%{user.id!=null?'update':'save'}" method="post">
		<s:hidden name="user.id"></s:hidden>
		<s:textfield label="用户名" name="user.name"></s:textfield>
		<s:password label="密码" name="user.password" showPassword="true"></s:password>
		<s:submit value="提交"></s:submit>
	</s:form>
</body>
</html>